package com.lq.educationsystem.lqclasses.service;

import com.lq.educationsystem.common.util.Result;
import com.lq.educationsystem.common.util.ResultPage;
import com.lq.educationsystem.common.vo.ClassesStudentPageVo;
import com.lq.educationsystem.lqclasses.entiy.ClassesStudentTb;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ClassesStudentBaseService {
    void insertInfo(ClassesStudentTb classesStudentInfo);

    void deleteById(Integer classesStudentId);

    void updateInfo(ClassesStudentTb classesStudentInfo);

    Result queryById(Integer classesStudentId);

    ResultPage<ClassesStudentTb> queryList(ClassesStudentPageVo classesStudentPageVo);

    ResultPage<ClassesStudentTb> queryClassesStudenInfotByStudentId( ClassesStudentPageVo classesStudentInfo);

    /**
     * 通过学生id查询班级id
     * @param classesStudentInfo
     * @return
     */
    Result<ClassesStudentTb> queryClassesInfoByStudentId(ClassesStudentTb classesStudentInfo);

    /**
     * 通过班级id查询班级内所有的学生
     * @param classesStudentPageVoList
     * @return
     */
    ResultPage<ClassesStudentTb> queryBatchClassesStudentInfoByStudentId(ClassesStudentPageVo classesStudentPageVoList);

    /**
     * 班级id查询班级内学生的id
     *
     * @param classesStudentPageVo
     * @return
     */
    ResultPage<ClassesStudentTb> queryClassesStudentInfoListByClassesId( ClassesStudentPageVo classesStudentPageVo);


    /**
     * 查询数据
     * @param studentId
     * @return
     */




}
